package br.com.sisnema.aula2;

import br.com.sisnema.aula2.dao.ClienteDAO;
import br.com.sisnema.aula2.adapter.ClienteAdapter;
import android.app.ListActivity;
import android.os.Bundle;

public class ListarNovo extends ListActivity{
	
	@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        ClienteDAO dao = new ClienteDAO(getBaseContext());
        setListAdapter(new ClienteAdapter(getBaseContext(), dao.getAll()));
    }
}
